home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / pcmagdoc.arc / UNDEL.DOC < prev    next >
Text File  |  1988-01-19  |  2KB  |  51 lines

  1.  
  2.           UNDEL (Undelete)                        Steven Holzner
  3.           Command                        PC Magazine Vol 4, No 7
  4.         Copyright 1985 Ziff-Davis Publishing Company
  5.           ______________________________________________________
  6.  
  7.           Purpose:  Recovers files on double-sided floppy disks
  8.                     that have been accidentally deleted.
  9.  
  10.           Format:   UNDEL [d:]filename[.ext]
  11.  
  12.           Remarks:  Unless special measures are taken, DOS does
  13.                     not overwrite the contents of a file when it
  14.                     deletes the file.  Rather, DOS simply changes
  15.                     the first letter of the filename to E5 in its
  16.                     directory table and unassigns the second (and
  17.                     subsequent) clusters for the file from its
  18.                     file allocation table.  When no files have
  19.                     been subsequently stored to disk that would
  20.                     use the deallocated clusters, the deleted
  21.                     file can usually be recovered intact by
  22.                     UNDEL.COM.
  23.  
  24.                     As an aid to recovery of ASCII files, the
  25.                     UNDEL command may be given as
  26.  
  27.                     UNDEL/A [d:]filename[.ext]
  28.  
  29.                     The /A parameter is designed to provide a
  30.                     display of each proposed cluster to be
  31.                     recovered before it is actually included in
  32.                     the undeleted file.  With late versions of
  33.                     PC-DOS, however, the use of the /A parameter
  34.                     has been found to return the error message,
  35.                     "File Not Found Deleted".  In such cases,
  36.                     entering UNDEL without the added parameter is
  37.                     normally sufficient to recover the complete
  38.                     file without loss.
  39.  
  40.                     Notes:
  41.  
  42.                     1.   UNDEL should not be used on 8-sector
  43.                          disks (such as the distribution copy
  44.                          of this disk), but only on 9-sector,
  45.                          double-sided floppies.
  46.  
  47.                     2.   Requires the use of DOS 2.0 or later,
  48.                          but the command does not recognize
  49.                          pathnames.
  50.  
  51.